home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / CEGUISDK-0.4.1-VC6-STLport.exe / {app} / datafiles / layouts / Demo7Windows.layout next >
Extensible Markup Language  |  2005-07-16  |  8KB  |  156 lines

  1. <?xml version="1.0" ?>
  2. <GUILayout>
  3.     <Window Type="DefaultWindow" Name="root">
  4.  
  5.         <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window1">
  6.             <Property Name="RelativeMinSize" Value="w:0.2 h:0.2" />
  7.             <Property Name="RelativeMaxSize" Value="w:0.8 h:0.8" />
  8.             <Property Name="Position" Value="x:0.2 y:0.2" />
  9.             <Property Name="Size" Value="w:0.5 h:0.5" />
  10.             <Property Name="Text" Value="Demo 7 - Window 1" />
  11.             <Property Name="CloseButtonEnabled" Value="False" />
  12.  
  13.             <Window Type="TaharezLook/Button" Name="Demo7/Window1/Quit">
  14.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  15.                 <Property Name="Position" Value="x:0.02 y:0.1" />
  16.                 <Property Name="Size" Value="w:0.25 h:0.1" />
  17.                 <Property Name="Text" Value="Exit Demo" />
  18.             </Window>
  19.  
  20.             <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio1">
  21.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  22.                 <Property Name="Position" Value="x:0.02 y:0.23" />
  23.                 <Property Name="Size" Value="w:0.25 h:0.075" />
  24.                 <Property Name="Text" Value="Option 1" />
  25.                 <Property Name="ID" Value="0" />
  26.             </Window>
  27.  
  28.             <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio2">
  29.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  30.                 <Property Name="Position" Value="x:0.02 y:0.306" />
  31.                 <Property Name="Size" Value="w:0.25 h:0.075" />
  32.                 <Property Name="Text" Value="Option 2" />
  33.                 <Property Name="ID" Value="1" />
  34.             </Window>
  35.  
  36.             <Window Type="TaharezLook/RadioButton" Name="Demo7/Window1/Radio3">
  37.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  38.                 <Property Name="Position" Value="x:0.02 y:0.382" />
  39.                 <Property Name="Size" Value="w:0.25 h:0.075" />
  40.                 <Property Name="Text" Value="Option 3" />
  41.                 <Property Name="ID" Value="2" />
  42.             </Window>
  43.  
  44.             <Window Type="TaharezLook/Checkbox" Name="Demo7/Window1/Checkbox">
  45.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  46.                 <Property Name="Position" Value="x:0.02 y:0.48" />
  47.                 <Property Name="Size" Value="w:0.45 h:0.075" />
  48.                 <Property Name="Text" Value="Enable some option" />
  49.                 <Property Name="Selected" Value="True" />
  50.             </Window>
  51.  
  52.             <Window Type="TaharezLook/StaticText" Name="Demo7/Window1/Text1">
  53.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  54.                 <Property Name="Position" Value="x:0.5 y:0.1" />
  55.                 <Property Name="Size" Value="w:0.45 h:0.5" />
  56.                 <Property Name="Text" Value="This is a static text widget.  More examples of this, and the static image, can be seen in the frame-rate / debug overlay." />
  57.                 <Property Name="FrameEnabled" Value="False" />
  58.                 <Property Name="BackgroundEnabled" Value="False" />
  59.                 <Property Name="HorzFormatting" Value="WordWrapCentred" />
  60.             </Window>
  61.  
  62.             <Window Type="TaharezLook/Editbox" Name="Demo7/Window1/Editbox">
  63.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  64.                 <Property Name="Position" Value="x:0.2 y:0.6" />
  65.                 <Property Name="Size" Value="w:0.6 h:0.1" />
  66.                 <Property Name="Text" Value="Single-line editbox" />
  67.             </Window>
  68.  
  69.             <Window Type="TaharezLook/LargeVerticalScrollbar" Name="Demo7/Window1/Scrollbar1">
  70.                 <Property Name="RelativeMinSize" Value="w:0.01 h:0.1" />
  71.                 <Property Name="RelativeMaxSize" Value="w:0.03 h:1.0" />
  72.                 <Property Name="Position" Value="x:0.06 y:0.6" />
  73.                 <Property Name="Size" Value="w:0.06 h:0.38" />
  74.             </Window>
  75.  
  76.             <Window Type="TaharezLook/Slider" Name="Demo7/Window1/Slider1">
  77.                 <Property Name="RelativeMinSize" Value="w:0.01 h:0.1" />
  78.                 <Property Name="RelativeMaxSize" Value="w:0.03 h:1.0" />
  79.                 <Property Name="Position" Value="x:0.9 y:0.625" />
  80.                 <Property Name="Size" Value="w:0.03 h:0.28" />
  81.                 <Property Name="CurrentValue" Value="1.0" />
  82.             </Window>
  83.         </Window>
  84.  
  85.         <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window2">
  86.             <Property Name="RelativeMinSize" Value="w:0.2 h:0.2" />
  87.             <Property Name="RelativeMaxSize" Value="w:0.8 h:0.8" />
  88.             <Property Name="Position" Value="x:0.4 y:0.1" />
  89.             <Property Name="Size" Value="w:0.5 h:0.5" />
  90.             <Property Name="Text" Value="Demo 7 - Window 2" />
  91.             <Property Name="CloseButtonEnabled" Value="False" />
  92.  
  93.             <Window Type="TaharezLook/ProgressBar" Name="Demo7/Window2/Progbar1">
  94.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  95.                 <Property Name="Position" Value="x:0.04 y:0.1" />
  96.                 <Property Name="Size" Value="w:0.94 h:0.05" />
  97.                 <Property Name="CurrentProgress" Value="0.33" />
  98.             </Window>
  99.  
  100.             <Window Type="TaharezLook/AlternateProgressBar" Name="Demo7/Window2/Progbar2">
  101.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  102.                 <Property Name="Position" Value="x:0.04 y:0.16" />
  103.                 <Property Name="Size" Value="w:0.94 h:0.05" />
  104.                 <Property Name="CurrentProgress" Value="0.7" />
  105.             </Window>
  106.  
  107.             <Window Type="TaharezLook/Listbox" Name="Demo7/Window2/Listbox">
  108.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  109.                 <Property Name="Position" Value="x:0.04 y:0.25" />
  110.                 <Property Name="Size" Value="w:0.42 h:0.3" />
  111.             </Window>
  112.  
  113.             <Window Type="TaharezLook/Combobox" Name="Demo7/Window2/Combobox">
  114.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  115.                 <Property Name="Position" Value="x:0.5 y:0.25" />
  116.                 <Property Name="Size" Value="w:0.42 h:0.45" />
  117.             </Window>
  118.  
  119.             <Window Type="TaharezLook/MultiColumnList" Name="Demo7/Window2/MultiColumnList">
  120.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  121.                 <Property Name="Position" Value="x:0.05 y:0.6" />
  122.                 <Property Name="Size" Value="w:0.9 h:0.38" />
  123.                 <Property Name="SelectionMode" Value="RowSingle" />
  124.                 <Property Name="ColumnHeader" Value="text:Server Name width:0.33 id:0" />
  125.                 <Property Name="ColumnHeader" Value="text:Address width:0.5 id:1" />
  126.                 <Property Name="ColumnHeader" Value="text:Ping width:0.2 id:2" />
  127.             </Window>
  128.  
  129.             <Window Type="TaharezLook/StaticImage" Name="Demo7/Window2/Image1">
  130.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  131.                 <Property Name="Position" Value="x:0.56 y:0.35" />
  132.                 <Property Name="Size" Value="w:0.3 h:0.2" />
  133.                 <Property Name="FrameEnabled" Value="False" />
  134.                 <Property Name="BackgroundEnabled" Value="False" />
  135.             </Window>
  136.         </Window>
  137.  
  138.         <Window Type="TaharezLook/FrameWindow" Name="Demo7/Window3">
  139.             <Property Name="RelativeMinSize" Value="w:0.2 h:0.2" />
  140.             <Property Name="RelativeMaxSize" Value="w:0.8 h:0.8" />
  141.             <Property Name="Position" Value="x:0.25 y:0.4" />
  142.             <Property Name="Size" Value="w:0.5 h:0.5" />
  143.             <Property Name="Text" Value="Demo 7 - Window 3" />
  144.             <Property Name="CloseButtonEnabled" Value="False" />
  145.  
  146.             <Window Type="TaharezLook/MultiLineEditbox" Name="Demo7/Window3/MLEditbox">
  147.                 <Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
  148.                 <Property Name="Position" Value="x:0.02 y:0.1" />
  149.                 <Property Name="Size" Value="w:0.96 h:0.85" />
  150.                 <Property Name="Text" Value="Multi-line edit box.  Edit me!" />
  151.             </Window>
  152.         </Window>
  153.  
  154.     </Window>
  155. </GUILayout>
  156.